const Koa = require('koa');
const app = new Koa()
const path = require('path')
const serve = require('koa-static')

const main = serve(path.join(__dirname))
console.log(path.join(__dirname));
app.use(main)

app.listen(3000, () => {
  console.log('服务器启动ing');
})